'; } /** * Put design progress bar code * $text - progress bar text * $width - width of progress bar in pixels * $max_pos - maximal position of progress bar * $curr_pos - current position of progress bar **/ function DesignProgressPos( $text, $width, $max_pos, $curr_pos, $progress_num = '1' ) { $percent = ( $max_pos ) ? $curr_pos * 100 / $max_pos : $percent = 0; return DesignProgress( $text, $width, $percent, $progress_num ); } /** * Put design progress bar code * $text - progress bar text * $width - width of progress bar in pixels * $percent - current position of progress bar in percents **/ function DesignProgress ( $text, $width, $percent, $progress_num, $id = '' ) { $ret = ""; $ret .= '