eclipt Posted April 21, 2006 Share Posted April 21, 2006 hello i wish for a help on how to design a template/skin for job recruitement sites using this code:[code]<?PHPClass Skin{ Function modified_employer( $name, $company_name, $company_representative, $address, $email, $phone, $fax, $website, $profile, $error ) { $html = ''; # here we put our template Return $html; } Function modified_jobseekser( $username, $pass, $name, $citizenship, $photo, $address, $email, $phone, $fax, $profile, $error ) { $html = ''; # here we put our template Return $html; } Function signup_employer( $name, $company_name, $company_representative, $address, $email, $phone, $fax, $website, $profile, $error ) { if ( count( $error ) ) { $html .= $this->error_warp( $error ); # if we have an error to show then print it before the form } $html = ''; # here we put our template Return $html; } Function signup_jobseekser( $username, $pass, $name, $citizenship, $photo, $address, $email, $phone, $fax, $profile, $error ) { $html = ''; # here we put our template Return $html; } Function ResumForm( $Resume_id, $pay, $time, $comment, $error ) { $html = ''; # here we put our template Return $html; } Function signin( $error ) { $html = ''; # here we put our template Return $html; } Function VacancyForm( $Vacancy_id, $title, $position, $specialization, $location, $type, $error ) { $html = ''; # here we put our template Return $html; } Function VacancyView( $Vacancy_id, $title, $position, $specialization, $location, $type, $date_added, $date_last_updated, $employer_id ) { $html = ''; # here we put our template Return $html; } Function modify_jobseekser_profile( $username, $pass, $name, $citizenship, $photo, $address, $email, $phone, $fax, $profile, $error ) { $html = ''; # here we put our template Return $html; } Function modify_employer_profile( $name, $company_name, $company_representative, $address, $email, $phone, $fax, $website, $profile, $error ) { $html = ''; # here we put our template Return $html; } # after the vacancy table we should print the resume Function resume_sort( $resumes ) { $html .= ''; # Start Table and the head lines foreach ( $resumes AS $key => $resume ) { $html .= $resume['id'].$resume['pay'].$resume['time'].$resume['jobseeker_id'].$resume['jobseeker_name'].$resume['comment'].$resume['post_date'].''; # here is the row # if the resume not been update there is no need to print (Updated in) phase. if ( isset( $resume['update_date'] ) ) { $html .= '<br /><b>Updated in :</b>'.$resume['update_date']; } } $html .= ''; # End Table Return $html; } Function cat_sort( $cats ) { $html = ''; # Start Table and the head lines foreach ( $cats AS $key => $cat ) { $html = $cat['id'].$cat['name'].$cat['views'].$cat['num_jobs'].$cat['descreption'].$cat['image'].''; # here is the row } $html .= ''; # End Table Return $html; } Function error_warp( $error ) { $html .= '<div class="error">you have '.count($error).' error.<br />'; foreach( $error AS $id => $error_msg ) { $html .= '<ul>'.$error_msg.'</ul>'; } $html .= '</div>'; Return $html; }} // End Class?>[/code]to whom who might help me .i'm really appreciate it.thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.