!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.95%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

CLASS GanttActivityInfo
(Defined in: jpgraph_gantt.php : 139)
 GanttActivityInfo 
 Hide() 
 SetBackgroundColor() 
 SetColor() 
 SetColTitles() 
 SetColumnMargin() 
 SetFont() 
 SetFontColor() 
 SetHeaderAlign() 
 SetStyle() 
 Show() 
 

Class usage and Overview
This class is responsible for handling the titles of the columns in the left section of the Gantt graph, i.e. the information columns for each activity.

It is instantiated in the scale and is accessed through the Gantt scale for example as in

$graph->scale->actinfo->SetColTitles( array('Note','Name','Duration','Start','Finish'),array(30,100)); $graph->scale->actinfo->SetBackgroundColor('green:0.5@0.5'); $graph->scale->actinfo->SetFont(FF_ARIAL,FS_NORMAL,10); $graph->scale->actinfo->vgrid->SetStyle('solid'); $graph->scale->actinfo->vgrid->SetColor('gray');

It is optional to use titles for the columns, so if you don't want to use titles you never have to add the above lines to a Gantt graph (but it sure looks nicer if you do ... )

 


Class Methods

 

 

Hide titles

ArgumentDefaultDescription
$aF true TRUE=Hide titles

Description
Hide titles 

Example

// Hide the titles
$graph->scale->actinfo->Hide();

 

 

Specify backgound color for titles

ArgumentDefaultDescription
$aColor  Color specification

Description
Specify backgound color for titles 

Example

$graph->scale->actinfo->SetBackgroundColor('green:0.5@0.5');

 

 

Specify color of vertical dividers between each title column

ArgumentDefaultDescription
$aColor  Color specification

Description
Specify color of vertical dividers between each title column 

Example

$graph->scale->actinfo->SetColor('navy');

 

 

Specify texts to be used as titles

ArgumentDefaultDescription
$aTitles  Array of titles
$aWidth null Optional width for each column

Description
Specify texts to be used as titles. The columns automatically becoms wide enough to hold the widest text in any columns. However you can also specify a specific width of each column by supplying an array of widths. However, the width can never be made smaller than the width of the texts, just larger.

It is perfectly legal to just specify the explicit width of the first few columns and have the rest of them become automatically sized. See eamplebelow.  

Example

// Specify some titles and explicitely set the size of the
// first two columns.
$graph->scale->actinfo->SetColTitles(
    array('Note','Name','Duration','Start','Finish'),array(30,100));

 

 

Specify extra margin to the left and right of the text in each column

ArgumentDefaultDescription
$aLeft  Left margin (in pixels)
$aRight  Right margin (in pixels)

Description
Specify extra margin to the left and right of the text in each column 

Example

$graph->scale->actinfo->SetColumnMargin(30,30);

 

 

Specify title font

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

Description
Specify title font 

Example

$graph->scale->actinfo->SetFont(FF_ARIAL,FS_NORMAL,10);

 

 

Specify title font color

ArgumentDefaultDescription
$aFontColor  Color specification

Description
Specify title font color 

Example

$graph->scale->actinfo->SetFontColor('navy');

 

 

Adjust headers left, right or centered

ArgumentDefaultDescription
$aAlign  Header alignment

Description
Adjust headers left, right or centered. By default headers are centered. 

Example

$graph->scale->actinfo->SetHeaderAlign('left');

 

 

Enable 3D header style

ArgumentDefaultDescription
$aStyle  1=3D style

Description
Enable 3D header style. This is enabled by default. 

Example

// No 3D style for titles
$graph->scale->actinfo->SetStyle(0);

 

 

Show titles

ArgumentDefaultDescription
$aF true TRUE=Show headers

Description
Show titles. If you specify titles they are by default displayed. 
 
See also
GanttActivityInfo::Hide

Example

// Hide the titles
$graph->scale->actinfo->Show(false);



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