!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/jpgraph/docs/ref/   drwxr-xr-x
Free 52.33 GB of 127.8 GB (40.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HeaderProperty.html (20.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

CLASS HeaderProperty
(Defined in: jpgraph_gantt.php : 1708)
 HeaderProperty 
 SetBackgroundColor() 
 SetFont() 
 SetFontColor() 
 SetFormatString() 
 SetFrameColor() 
 SetFrameWeight() 
 SetIntervall() 
 SetLabelFormatString() 
 SetStyle() 
 SetSundayFontColor() 
 SetTitleVertMargin() 
 SetWeekendColor() 
 

Class usage and Overview
Data encapsulating class to hold properties for each type of the scale headers of the Gantt chart. It is instantiated in (and accessible through) $ganttgraph->scale->min $ganttgraph->scale->hour $ganttgraph->scale->day $ganttgraph->scale->week $ganttgraph->scale->month $ganttgraph->scale->year You use the methods on these object to specify how you want the scale to be displayed. For example specifying if the week view will show start date or week number.

 


Class Methods

 

 

Specify background color in scale

ArgumentDefaultDescription
$aColor  Color

Description
Specify background color in scale 

Example

$ganttgraph->scale->week->SetBackgroundColor('lightblue');

 

 

Specify font for scale

ArgumentDefaultDescription
$aFFamily  Font family
$aFStyle FS_NORMAL Font style
$aFSize 10 Font size

Description
Specify font for scale 

Example

$ganttgraph->scale->week->SetFont(FF_FONT0);

 

 

Specify font (text) color

ArgumentDefaultDescription
$aColor  Color

Description
Specify font (text) color 

Example

$ganttgraph->scale->week->SetFontColor('darkred');

 

 

Specify format string for scales

ArgumentDefaultDescription
$aStr  Format string

Description
Specify printf() style format string for scales 

 

 

Set color of frame around scale

ArgumentDefaultDescription
$aColor  Color

Description
Set color of frame around scale 

Example

$ganttgraph->scale->year->SetFrameCOlor('darkblue');

 

 

Specify width of frame around scale

ArgumentDefaultDescription
$aWeight  Width in pixels

Description
Specify width of frame around scale 

Example

$ganttgraph->scale->year->SetFrameWeight(2);

 

 

Set scale interval

ArgumentDefaultDescription
$aInt  Integer intervall

Description
Set scale interval. The exact behaviour depends on if this is evoked on a day, hour or minute scale.

For example if the scale is an hour scale then SetIntervall() will give number of hours between each scale interball. 

Example

// Setup minute format
$graph->scale->minute->SetIntervall(30);
$graph->scale->minute->SetBackgroundColor('lightyellow:1.5');
$graph->scale->minute->SetFont(FF_FONT0);
$graph->scale->minute->SetStyle(MINUTESTYLE_MM);
$graph->scale->minute->grid->SetColor('lightgray');

 

 

Specify format string for use in scale

ArgumentDefaultDescription
$aStr  printf() style format string

Description
Specify format string for use in scale. 

Example

$ganttgraph->scale->week->SetLabelFormatString('week %d');

 

 

Specify style of scale.

ArgumentDefaultDescription
$aStyle  Scale style

Description
Specifies how the week, month, day, hour and minute scale should appear. For year scale this method has no meaning. For week scale:
  • WEEKSTYLE_WNBR, Show the numeric week number
  • WEEKSTYLE_FIRSTDAY, Show the date for the first day in the week. e.g. 24/05 (Meaning 24:th of May)
  • WEEKSTYLE_FIRSTDAY2, Show the date for the first day in the week but with month as text, e.g. 24 May
  • WEEKSTYLE_FIRSTDAYWNBR, Same as Firstday above but also adds the week number, e.g. 24/05, w34
  • WEEKSTYLE_FIRSTDAY2WNBR, Same as Firstday2 above but also adds the week number, e.g. 24 May, w34
For month scale:
  • MONTHSTYLE_SHORTNAME, Use short form of month name
  • MONTHSTYLE_LONGNAME, Use long form of month name
  • MONTHSTYLE_LONGNAMEYEAR2, Show long month nmame with a 2 digit year
  • MONTHSTYLE_SHORTNAMEYEAR2, Show short month nmame with a 2 digit year
  • MONTHSTYLE_LONGNAMEYEAR4, Show long month nmame with a 4 digit year
  • MONTHSTYLE_SHORTNAMEYEAR4, Show short month nmame with a 4 digit year
For Day style
  • "DAYSTYLE_ONELETTER"
  • "DAYSTYLE_LONG"
  • "DAYSTYLE_LONGDAYDATE1"
  • "DAYSTYLE_LONGDAYDATE2"
  • "DAYSTYLE_SHORT"
  • "DAYSTYLE_SHORTDAYDATE1"
  • "DAYSTYLE_SHORTDAYDATE2"
  • "DAYSTYLE_SHORTDAYDATE3"
  • "DAYSTYLE_SHORTDATE1"
  • "DAYSTYLE_SHORTDATE2"
  • "DAYSTYLE_SHORTDATE3"
  • "DAYSTYLE_CUSTOM"
For hour style
  • "HOURSTYLE_HM24"
  • "HOURSTYLE_HMAMPM"
  • "HOURSTYLE_H24"
  • "HOURSTYLE_HAMPM"
  • "HOURSTYLE_CUSTOM"
Minute style
  • "MINUTESTYLE_MM"
  • "MINUTESTYLE_CUSTOM"
 

Example

$graph->scale->month->SetStyle(MONTHSTYLE_SHORTNAMEYEAR4);

 

 

Only used by day scale. Specify font color for sunday.

ArgumentDefaultDescription
$aColor  Color

Description
Only used by day scale. Specify font color for sunday. The default is toi display Sundays in red color as per convention. 
 
See also
GanttScale::UseWeekendBackground

Example

$ganttgraph->SetSundayFontColor('red');

 

 

Specify margin above and below text in scale

ArgumentDefaultDescription
$aMargin  Margin in pixels

Description
Specify margin above and below text in scale 

Example

$ganttgraph->scale->year->SetTitleVertMargin(7);

 

 

Only valid if if used by day scale

ArgumentDefaultDescription
$aColor  Background color for the weekend

Description
Specify the background color for weekends.

Tip: If you want the weekend background color to continue down the gantt chart theh use the GanttScale::UseWeekendBackground() method.  
 

See also
HeaderProperty::SetSundayFontColor and GanttScale::UseWeekendBackground

Example

$ganttgraph->scale->day->SetWeekendColor('lightgray');



:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0056 ]--