$value ) { $attributes .= $key.'="'.$value.'" '; } return($attributes); } public static function h1($array = array()) { $attributes = self::get_attributes($array); return( '

'.$array['content'].'

' ); } public static function h2($array = array()) { $attributes = self::get_attributes($array); return( '

'.$array['content'].'

' ); } public static function h3($array = array()) { $attributes = self::get_attributes($array); return( '

'.$array['content'].'

' ); } public static function h4($array = array()) { $attributes = self::get_attributes($array); return( '

'.$array['content'].'

' ); } public static function blockquote($array = array()) { $attributes = self::get_attributes($array); return( '
'.$array['content'].'
' ); } public static function p($array = array()) { $attributes = self::get_attributes($array); return( '

'.$array['content'].'

' ); } public static function separator($array = array(), $top=false, $hidden=false) { if(isset($array['class'])) { $array['class'] = 'separator '.$array['class']; } else { $array['class'] = 'separator'; } if($hidden) $hidden = 'style="display:none"'; else $hidden = ''; $attributes = self::get_attributes($array); return( '
'.$array['content'].'
' ); } public static function form_open($array = array()) { $attributes = self::get_attributes($array); return( '
' ); } public static function form_close() { return( '
' ); } public static function input($array = array()) { $attributes = self::get_attributes($array); return( '' ); } public static function checkbox($array = array(), $checked = false) { $attributes = self::get_attributes($array); if( $checked ) return( '' ); else return( '' ); } public static function radio($array = array(), $checked = false) { $attributes = self::get_attributes($array); if( $checked ) return( '' ); else return( '' ); } public static function textarea($array = array()) { $attributes = self::get_attributes($array); return( '' ); } public static function label($array = array()) { $attributes = self::get_attributes($array); return( '' ); } public static function select($array = array(), $options = array(), $selected) { $attributes = self::get_attributes($array); $tmp = ''; return( $tmp ); } public static function div($array = array()) { $attributes = self::get_attributes($array); return( '
'.$array['content'].'
' ); } public static function div_open($array = array()) { $attributes = self::get_attributes($array); return( '
' ); } public static function div_close() { return( '
' ); } public static function article_open($array = array()) { $attributes = self::get_attributes($array); return( '
' ); } public static function article_close() { return( '
' ); } public static function header_open($array = array()) { $attributes = self::get_attributes($array); return( '
' ); } public static function header_close() { return( '
' ); } public static function link($array = array()) { $attributes = self::get_attributes($array); return( ''.$array['content'].'' ); } public static function span($array = array()) { $attributes = self::get_attributes($array); return( ''.$array['content'].'' ); } public static function img($array = array()) { $attributes = self::get_attributes($array); return( '' ); } public static function ul($array = array()) { $attributes = self::get_attributes($array); return( '' ); } public static function banner($msg, $success, $error) { if( $success ) return('
'.$msg.'
'); elseif( $error ) return('
'.$msg.'
'); } } ?>