i = 0; } public function start_form($action, $method = "post", $extra = "") { echo "
"; echo "
"; } public function start_table() { echo ""; } public function add_field_hidden($name, $value) { echo ""; } public function add_field($type, $name, $value, $size = 50, $extra = "") { echo ""; echo ""; $this->i++; } else { echo "\n"; } } public function add_custom_field($name,$data,$td_extra = "") { echo ""; echo "\n"; if ( defined("OGP_LANG_".$name."_info") ) { echo "\n\n"; $this->i++; } else { echo "\n"; } } public function end_table() { echo "
"; if ($type === "string") { echo ""; } else if ($type === "on_off") { echo ""; } else if ($type === "checkbox") { echo ""; } else if ($type === "text") { echo ""; } else if ($type === "password") { echo ""; } else { print_failure(get_lang_f('invalid_setting_type',$type)); } if ( defined("OGP_LANG_".$name."_info") ) { echo "
".str_replace("'",'"',get_lang($name."_info"))."
".$data."
".str_replace("'",'"',get_lang($name."_info"))."
"; } public function add_button($type,$name,$value) { echo "

"; } public function end_form() { echo "
"; echo "
"; echo "
"; } } ?>