Jump to content

eclipt

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Posts posted by eclipt

  1. hello

    i wish for a help on how to design a template/skin for job recruitement sites using this code:
    [code]<?PHP

    Class 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.