Example #1
0
 public function employment()
 {
     $employments = Employ::paginate(10);
     return View::make('招贤纳士')->with('employments', $employments);
 }
Example #2
0
        $eml_educationalval = $GLOBALS['Reque']->reqval["eml_educational"];
        $eml_birthdayval = $GLOBALS['Reque']->reqval["eml_birthday"];
        $eml_schoolval = $GLOBALS['Reque']->reqval["eml_school"];
        $eml_subjectval = $GLOBALS['Reque']->reqval["eml_subject"];
        $eml_startworkval = $GLOBALS['Reque']->reqval["eml_startwork"];
        $eml_payval = $GLOBALS['Reque']->reqval["eml_pay"];
        $eml_yearval = $GLOBALS['Reque']->reqval["eml_year"];
        $eml_phoneval = $GLOBALS['Reque']->reqval["eml_phone"];
        $eml_emailval = $GLOBALS['Reque']->reqval["eml_email"];
        $eml_resumeval = $GLOBALS['Reque']->reqval["eml_resume"];
        $eml_enclosureval = $GLOBALS['Reque']->reqval["eml_enclosure"];
        $eml_enclosurefileval = $GLOBALS['Reque']->reqval["eml_enclosurefile"];
        $eml_addtimeval = time();
        $insertsql = "INSERT INTO `" . SQL_PREFIX . "employ` (`eml_position` , `eml_name` , `eml_sex` , `eml_native` , `eml_educational`, `eml_birthday` , `eml_school` , `eml_subject`,`eml_startwork` , `eml_pay` , `eml_year` , `eml_phone` , `eml_email`,`eml_resume`,`eml_enclosure`,`eml_enclosurefile`,`eml_addtime` ) \n\t\tVALUES (  '{$eml_positionval}', '{$eml_nameval}', '{$eml_sexval}', '{$eml_nativeval}', '{$eml_educationalval}', '{$eml_birthdayval}', '{$eml_schoolval}', '{$eml_subjectval}','{$eml_startworkval}', '{$eml_payval}', '{$eml_yearval}', '{$eml_phoneval}', '{$eml_emailval}', '{$eml_resumeval}','{$eml_enclosureval}', '{$eml_enclosurefileval}', '{$eml_addtimeval}')";
        $GLOBALS['MySql']->querySql($insertsql);
        $GLOBALS['Templ']->assign('infomessage', $GLOBALS['_LANG']['bd_addsusse']);
        $GLOBALS['Templ']->assign('URL_TIME', URL_TIME);
        $GLOBALS['Templ']->assign('geturl', BASE_WEBURL . "/?resume.html&type=infolist&id=" . $inv_idval);
        $GLOBALS['Templ']->display('suggestion_tpl.html');
    }
}
$Employ = new Employ();
if ($GLOBALS['Webur']->getval["type"] == 'infolist') {
    $Employ->infolist();
} else {
    if ($GLOBALS['Webur']->getval["type"] == 'addinfo') {
        $Employ->addinfo();
    } else {
        $GLOBALS['Helpe']->error404();
    }
}